<template>
  <div
    id="app"
    v-loading="loading"
    element-loading-text="拼命加载中"
    element-loading-spinner="el-icon-loading"
    element-loading-background="rgba(0, 0, 0, 0.8)"
  >
    <router-view />
  </div>
</template>

<script>
import { mapGetters, mapActions } from "vuex";
export default {
  computed: {
    ...mapGetters(["getLeftMenuWidth", "getLoading"])
  },
  data() {
    return {
      loading: true
    };
  }
};
</script>

<style>
* {
  padding: 0;
  margin: 0;
}
</style>
